<?php
    $computedData = '<tr>';
    foreach ($tableInfos[0] as $tableColumn)
    {
        $computedData .= '<th>' . $tableColumn . '</th>';
    }
    $computedData .= '<th colspan="2">Édition</th></tr>';
    foreach ($tableInfos[1] as $tableLineValues)
    {
        $computedData .= '<tr>';
        foreach ($tableLineValues as $key => $columnValue)
        {
            if (is_string($key))
            {
                $computedData .= '<td>' . $columnValue . '</td>';
            }
        }
        $computedData .=
    '<td>
        <a href="">Supprimer</a>
    </td>
    <td>
        <a href="">Éditer</a>
    </td>
</tr>';
    }
    echo
'<section>
    <table border="1">
        ' . $computedData . '
    </table>
</section>';
?>
